package com.csx.map;

/**
 *  映射
 * @param <K> 键
 * @param <V> 值
 */
public interface Map<K, V> {

    void add(K key, V value);

    V remove(K key) throws IllegalAccessException;

    boolean contains(K key);

    V get(K key);

    void set(K key, V value) throws IllegalAccessException;

    int gitSize();

    boolean isEmpty();
}
